package com.yuntai.pms.model.entity;


import com.alibaba.fastjson.JSON;

import java.io.Serializable;

public class AipAppSourceRef implements Serializable {

    private static final long serialVersionUID = -5626421335058693434L;

    private Long        appId;          // 应用ID，应用表aip_app中的主键
    private Long        isvAppId;       // 开发者应用app_id，用于资源接口请求认证授权,
    private String      sourceField;    // 数据资源字段名，例如“hosId”，医院ID,
    private String      sourceValue;    // 数据资源值，例如hosId的值,
    private String      status;         // 状态：有效(enabled)、待审核（check）、无效(disabled) , 默认有效

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public Long getIsvAppId() {
        return isvAppId;
    }

    public void setIsvAppId(Long isvAppId) {
        this.isvAppId = isvAppId;
    }

    public String getSourceField() {
        return sourceField;
    }

    public void setSourceField(String sourceField) {
        this.sourceField = sourceField;
    }

    public String getSourceValue() {
        return sourceValue;
    }

    public void setSourceValue(String sourceValue) {
        this.sourceValue = sourceValue;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
